package com.gjintel.business.proj.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@SuppressWarnings("serial")
@Entity
@Table(name="T_PROJECT_MAX_COUNT")
public class ProjectMaxCount implements Serializable{
	private String id;
	private String unitId;
	private Long maxCount;
	private int codeType;//0:直采,1:竞价,2:其他--预留
	private int years;//年份
	private String projectType;//项目类型
	private String tradeType;//交易方式
	private Long maxCount_nobid;
	
	@Id
	@GeneratedValue(generator = "UIDGenerator")
	@GenericGenerator(name = "UIDGenerator", strategy = "org.hibernate.id.UUIDHexGenerator")
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	@Column(name="UNIT_ID")
	public String getUnitId() {
		return unitId;
	}
	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}
	
	@Column(name="MAX_COUNT")
	public Long getMaxCount() {
		return maxCount;
	}
	public void setMaxCount(Long maxCount) {
		this.maxCount = maxCount;
	}
	
	@Column(name="CODE_TYPE")
	public int getCodeType() {
		return codeType;
	}
	public void setCodeType(int codeType) {
		this.codeType = codeType;
	}
	
	@Column(name="years")
	public int getYears() {
		return years;
	}
	public void setYears(int years) {
		this.years = years;
	}
	
	@Column(name="proj_type")
	public String getProjectType() {
		return projectType;
	}
	public void setProjectType(String projectType) {
		this.projectType = projectType;
	}
	
	@Column(name="trade_type")
	public String getTradeType() {
		return tradeType;
	}
	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}
	
	@Column(name="maxCount_nobid")
	public Long getMaxCount_nobid() {
		return maxCount_nobid;
	}
	public void setMaxCount_nobid(Long maxCount_nobid) {
		this.maxCount_nobid = maxCount_nobid;
	}
	
	
}
